Tables [dbo].[GroupPerspective]
Properties
PropertyValue
Row Count2
Created10:31:24 AM Tuesday, March 02, 2010
Last Modified11:40:03 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_GroupPerspective: GroupPerspectiveKeyGroupPerspectiveKeyuniqueidentifier16
No
Foreign Keys FK_GroupPerspective_GroupMain: [dbo].[GroupMain].GroupKeyIndexes IX_GroupPerspective: GroupKey\PerspectiveKeyGroupKeyuniqueidentifier16
No
Foreign Keys FK_GroupPerspective_Perspective: [dbo].[Perspective].PerspectiveKeyIndexes IX_GroupPerspective: GroupKey\PerspectiveKeyPerspectiveKeyuniqueidentifier16
No
IsDefaultFlagbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_GroupPerspective: GroupPerspectiveKeyPK_GroupPerspectiveGroupPerspectiveKey
Yes
IX_GroupPerspectiveGroupKey, PerspectiveKey
Yes
Foreign Keys Foreign Keys
NameColumns
FK_GroupPerspective_GroupMainGroupKey->[dbo].[GroupMain].[GroupKey]
FK_GroupPerspective_PerspectivePerspectiveKey->[dbo].[Perspective].[PerspectiveKey]
SQL Script
CREATE TABLE [dbo].[GroupPerspective]
(
[GroupPerspectiveKey] [uniqueidentifier] NOT NULL,
[GroupKey] [uniqueidentifier] NOT NULL,
[PerspectiveKey] [uniqueidentifier] NOT NULL,
[IsDefaultFlag] [bit] NOT NULL CONSTRAINT [DF_GroupPerspective_IsDefaultFlag] DEFAULT ((0))
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[GroupPerspective] ADD CONSTRAINT [PK_GroupPerspective] PRIMARY KEY CLUSTERED ([GroupPerspectiveKey]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_GroupPerspective] ON [dbo].[GroupPerspective] ([GroupKey], [PerspectiveKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[GroupPerspective] ADD CONSTRAINT [FK_GroupPerspective_GroupMain] FOREIGN KEY ([GroupKey]) REFERENCES [dbo].[GroupMain] ([GroupKey])
GO
ALTER TABLE [dbo].[GroupPerspective] ADD CONSTRAINT [FK_GroupPerspective_Perspective] FOREIGN KEY ([PerspectiveKey]) REFERENCES [dbo].[Perspective] ([PerspectiveKey])
GO
Uses